<script type="text/javascript">
$(function (){
$("input").blur(function (){
var sum = parseInt($("#jpjiage").val()) * parseInt($("#shuliang").val());
$("#jpzongjia").val(sum);
})
})
</script>
<div class="bjui-pageContent">
  <form action="__URL__/add/navTabId/{:CONTROLLER_NAME}" class="pageForm" data-toggle="validate">
    <input type="hidden" name="id" value="{$id}">
    <div class="pageFormContent" data-layout-h="0">
      <table class="table table-condensed table-hover" width="100%">
        <tbody>
          <tr>
            <td>
              <label for='jpid_input' class='control-label x85'>产品ID:</label>
              <input type='text' id='jpid' name='jpid'  size='20' data-toggle='lookup' data-url='__MODULE__/public/proname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jpid}'  ></td>
            <td>
              <label for='jpname_input' class='control-label x85'>产品名称:</label>
              <input type='text' id='jpname' name='jpname'  size='20' data-toggle='lookup' data-url='__MODULE__/public/proname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jpname}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='jpjiage_input' class='control-label x85'>产品价格:</label>
              <input type='text' id='jpjiage' name='jpjiage'  size='20' data-toggle='lookup' data-url='__MODULE__/public/proname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jpjiage}'  ></td>
              <td>
              <label for='jpguige_input' class='control-label x85'>规格型号:</label>
              <input type='text' id='jpguige' name='jpguige'  size='20' data-toggle='lookup' data-url='__MODULE__/public/proname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jpguige}'  ></td>
<!--             <td>
              <label for='jpdanwei_input' class='control-label x85'>联系人:</label>
              <input type='text' id='jpdanwei' name='jpdanwei'  size='20' data-toggle='lookup' data-url='__MODULE__/public/proname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jpdanwei}'  ></td> -->
          </tr>
          <tr>
           
            <td>
              <label for='shuliang_input' class='control-label x85'>入库数量:</label>
              <input type='text' id='shuliang' name='shuliang' data-rule='required;' size='20'   value='{$Rs.shuliang}'  ></td>
                          <td>
              <label for='title_input' class='control-label x85'>说明:</label>
              <input type='text' id='title' name='title'  size='20'   value='{$Rs.title}'  ></td>

          </tr>
          <tr>
                          <td>
              <label for='jpzongjia_input' class='control-label x85'>总价:</label>
              <input type='text' id='jpzongjia' name='jpzongjia'  size='20'   value='{$Rs.jpzongjia}'  ></td>
          </tr>
        <!--   <tr>
            <td>
              <label for='juid_input' class='control-label x85'>经办人:</label>
              <input type='text' id='juid' name='juid'  size='20' data-toggle='lookup' data-url='__MODULE__/public/user/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.juid}'  ></td>
            <td>
              <label for='juname_input' class='control-label x85'>经办人:</label>
              <input type='text' id='juname' name='juname'  size='20' data-toggle='lookup' data-url='__MODULE__/public/user/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.juname}'  ></td>
          </tr> -->

          </tbody>
        </table>
      </div>
      <div class="bjui-footBar">
        <ul>
          <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
          </li>
          <li>
            <button type="submit" class="btn-default" data-icon="save">保存</button>
          </li>
        </ul>
      </div>
    </form>
  </div>